package com.bank.svc;

import java.util.List;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.bank.dao.MgrLogDao;
import com.bank.pojo.BankMgrLog;
import com.bank.vo.BankLogResult;

@Service("mgrLogSvc")
public class MgrLogSvc {
	@Resource(name="mgrLogDao")
	private MgrLogDao mld;
	
	public boolean addLog(BankMgrLog log){
		return mld.addLog(log);
	}
	
	public List<BankLogResult> getLogByPage(int pageNum){
		return mld.getLogByPage(pageNum);
	}

	public void setMld(MgrLogDao mld) {
		this.mld = mld;
	}
}
